package com.guochuang.yunwang.promanager.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.test.context.junit4.SpringRunner;

@SpringBootTest
@RunWith(SpringRunner.class)
public class RedisDemo {


    @Autowired
    private StringRedisTemplate redisTemplate;



    @Test
    public void test_01(){
        redisTemplate.opsForValue().set("1","hwue");

    }


}
